from file_define import FileRead, TextFileReader, JsonFileeader
from data_define import Record

file_path = "file.json"
file_path2 = "file.txt"
reader = JsonFileeader(file_path)
reader2 = TextFileReader(file_path2)

rest_list = reader.read_data()
rest_list2 = reader2.read_data()
all_list = rest_list + rest_list2

for data in all_list:
    print(data)
